Skip to main content

startValue

Type​

property

Summary​

Specifies the value corresponding to a scrollbar's start position.

Syntax​

set the startValue of <scrollbar> to <number>

Description​

Use the startValue and endValue properties to set the scale of the scrollbar.

The startValue is the value of the thumbPosition when the scrollbar thumb is all the way to the top (for a vertical scrollbar) or left (for a horizontal scrollbar).

Examples​

set the startValue of scrollbar "Progress" to 1

Value​

NameTypeDescription

value

The startValue of a scrollbar is an integer between zero and 65535. By default, the startValue property of newly created scrollbars is set to zero.

property: endValue, properties, thumbSize, thumbPosition

constant: scrollbarFactor

function: value

glossary: scrollbar thumb, property

keyword: scrollbar, integer

message: scrollbarLineInc, scrollbarBeginning

object: scrollbar

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?